Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnit


Remove

The Remove method removes all properties and values in the current focus context from this storage unit.

ODStorageUnit Remove ();
return value
A reference to this storage unit.
DISCUSSION
If the current focus context is the entire storage unit, this method removes all properties and their values. If it is focused on a property, this method removes the focused property and all its values. If it is focused on a value, this method removes the focused value.

After this method executes successfully, the storage unit is unfocused.

EXCEPTIONS
kODErrZeroRefCount
This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnit::AddProperty method (page 670).
The ODStorageUnit::AddValue method (page 671).
Listing 2-42 on page 101 in OpenDoc Cookbook.
Listing 2-43 on page 103 in OpenDoc Cookbook.
Listing 2-47 on page 110 in OpenDoc Cookbook.
"Removing Properties and Values" on page 278 in OpenDoc Programmer's Guide.
"Removing a Link Specification From the Clipboard" on page 357 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help